package vn.edu.saigontech.ncms.model.enumeration;

public enum Campus {
	QUANGTRUNG("campus.quangtrung"), TRUONGDINH("campus.truongdinh");

	private String key;

	private Campus(String key) {
		this.key = key;
	}

	public static Campus create(String name) {
		try {
			return valueOf(name);
		} catch (Exception ex) {
		}
		return null;
	}

	public String getKey() {
		return key;
	}
}